package vn.orderonline.core.dao;

import java.util.List;

import vn.orderonline.core.dao.common.GenericDao;
import vn.orderonline.core.dao.entity.Drink;

public interface DrinkDao extends GenericDao<Drink, Integer> {

	public List<Object[]> getListDrinkByResIdAndMenuDrinkId(Integer resId,
			Integer menuDrinkId);

	public Boolean checkExistedDrink(Integer menuDrinkId, String drinkName);

	public Object[] getDrink(Integer drinkId);

	public List<Object[]> searchDrink(Integer resId, Integer menuDrinkId,
			Integer drinkId, String drinkName, String drinkTitle,
			Float oldPrice, Float newPrice);

	public String getDrinkNameByDrinkId(Integer drinkId);

}
